<?php
namespace Admin\Model;

use Think\Model;

class AdministratorModel extends Model
{
    // 验证码生成接口
    public function login($administrator)
    {
       return M('administrator')->where($administrator)->find();
    }
}